home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 17
/
AMIGAplus Sonderheft 17 (1999)(ICP)(DE)[!].iso
/
mui
/
developer
/
autodocs
/
mui_aboutmui.doc
next >
Wrap
Text File
|
1977-12-31
|
949b
|
37 lines
TABLE OF CONTENTS
Aboutmui.mui/Aboutmui.mui
Aboutmui.mui/MUIA_Aboutmui_Application
Aboutmui.mui/Aboutmui.mui
This class can be used to display a MUI about window
in MUI applications. Add a "Project/About MUI..." menu
item and make it do something like this:
if (!aboutwin)
{
aboutwin = AboutmuiObject,
MUIA_Window_RefWindow, obj,
MUIA_Aboutmui_Application, MyAppObject,
End;
}
if (aboutwin)
set(aboutwin,MUIA_Window_Open,TRUE);
else
DisplayBeep(0);
You don't have to care about the window any longer, it
will take care about closing itself and will get disposed
when the application is removed.
Aboutmui.mui/MUIA_Aboutmui_Application
NAME
MUIA_Aboutmui_Application -- (V11) [I..], Object *
FUNCTION
Inform the Aboutmui object of the application. If you don't
specifiy this, Aboutmui will just create a normal window
object and will leave the responsibility about closing itself
to the programmer.